package com.hst.web.base.ui;

import com.hst.core.meta.MetaData;
import com.hst.core.meta.annotation.EField;
import com.hst.core.meta.annotation.EInfo;
import com.hst.core.meta.annotation.ESort;
import com.hst.web.base.entity.TFlowConfigDetail;

@EInfo(name = "flow-config-detail", entity = TFlowConfigDetail.class, fk = "configId = id")
public class FlowConfigDetail extends MetaData {

	@EField(name = "id", title = "id", list = false, form = 0)
	private String id;

	@EField(name = "configId", title = "主配置ID", list = false, form = 0)
	private String configId;

	@EField(name = "srl", title = "顺序", validate = "Numbery")
	@ESort("asc")
	private Integer srl;
	
	@EField(name = "nodeName", title = "节点名称")
	private String nodeName;

	@EField(name = "role", title = "角色", viewer = "dict.roles", editor = "select.roles")
	private String role;

	public String getNodeName() {
		return nodeName;
	}

	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getConfigId() {
		return configId;
	}

	public void setConfigId(String configId) {
		this.configId = configId;
	}

	public Integer getSrl() {
		return srl;
	}

	public void setSrl(Integer srl) {
		this.srl = srl;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

}
